package com.xja.springbootdemo.service;

import com.xja.springbootdemo.dao.Cangkudao;
import com.xja.springbootdemo.query.CangkuQueryInfo;
import com.xja.springbootdemo.util.PageUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CangkuService {

    @Autowired
    private Cangkudao mcangkudao;

    public PageUtil queryPage(CangkuQueryInfo cangkuQueryInfo) {
        PageUtil pageUtil = mcangkudao.queryPage("queryPage",cangkuQueryInfo);
        return pageUtil;
    }
}
